/**
 * 开单的Route Component
 * @author: zxy
 * @update: 2017-03-13
 */

import React, {PropTypes} from 'react';
import {connect} from 'dva';
import BillingMenu from '../../components/Billing/BillingMenu';
import BillingLive from '../../components/Billing/BillingLive';
import BillingSearch from '../../components/Billing/BillingSearch';
import BillingRooms from '../../components/Billing/BillingRooms';

function Billing({location, dispatch, billing}) {

  const {
  } = billing;

  return (
    <div style={{backgroundColor: '#ececec', height: '100%'}}>
      <BillingMenu />
      <BillingLive />
      <BillingSearch />
			<div style={{height: 1000, background: '#fff', overflow: 'overflow'}}></div>
    </div>
  );
}

Billing.propTypes = {
  location: PropTypes.object,
  dispatch: PropTypes.func,
  storeInfo: PropTypes.object,
};

export default connect(({billing}) => ({billing}))(Billing);